package com.cn.main.extract.job;

import java.util.List;

import com.cn.main.extract.TaskNode;

public class JobRunner {

	private List<TaskNode> taskList;
	
	public JobRunner(){
	}
	
	public JobRunner(List<TaskNode> taskList){
		this.taskList = taskList;
	}
	
	public void start(){
		for (TaskNode taskNode : taskList) {
			this.executeTask(taskNode);
		}
	}
	
	private void executeTask(TaskNode taskNode){
		
	}

	public List<TaskNode> getTaskList() {
		return taskList;
	}

	public void setTaskList(List<TaskNode> taskList) {
		this.taskList = taskList;
	}
	
	
}
